package com.lins.storedisk.constant;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 公共参数-Yml
 * @Author linshuo
 * @Date 2023/7/27 15:34
 */
@Component
@Configuration
//@PropertySource(value = {"classpath:/application.yml"}, encoding = "gbk")
@ConfigurationProperties(prefix = "sys-params") //配置文件映射
@Data
public class SysParams {
    private String localFileUrl;

    private String ossEndpoint;// Endpoint以华东1（杭州）为例，其它Region请按实际情况填写。
    private String ossBucketName;
    private String ossAccessKeyId;
    private String ossAccessKeySecret;
    private String ossUrl;


//    @Value("${tencent.msm.secretId}")
    private String tencentMsmSecretID ;
    private String tencentMsmSecretKey ;
    private String tencentMsmSdkAppId;
    private String tencentMsmSignName;
    private String tencentMsmTemplateId;

    private String wechatAppID ;
    private String wechatAppSecret ;
    private String wechatOpenID ;
    private String wechatTemplateID ;
    private String wechatTopColor ;
    private String wechatWeatherAPI ;
    private String wechatWeatherKey ;
    private String wechatRainbowAPI ;
    private String wechatBoyBirthday ;
    private String wechatGirlBirthday ;
    private String wechatLoveDay ;

}
